<%@ page contentType="text/html;charset=utf-8"%>
<%@ include file="header.jsp"%>
<title>JWORDZ--Web2.0在线背单词</title>
<script type="text/javascript" src="<c:url value="/js/jquery.min.js"/>"></script>
<script type="text/javascript"
	src="<c:url value="/js/jquery.pagination.js"/>"></script>
<script type="text/javascript" src="<c:url value="/js/common.page.js"/>"></script>
<link rel="stylesheet" href="<c:url value="/style/pagination.css"/>"/>
<link href="style/blog.css" rel="stylesheet" type="text/css" />
<%@ include file="container.jsp"%>

<div id="mainContent">
<p id="location"><a href="index.html">首页</a> > <a href="#">Blog
博客</a></p>
<div id="blog_top"></div>
<div id="blog_content">
<div id="blog_left">
<ul id="left_list">
	<li><a href="<c:url value="/blog.htm"><c:param name="method" value="all"/><c:param name="categoryID" value="0"/></c:url>">煎蛋热文</a></li>
	<li><a href="<c:url value="/blog.htm"><c:param name="method" value="all"/><c:param name="categoryID" value="1"/></c:url>">系统更新</a></li>
	<li><a href="<c:url value="/blog.htm"><c:param name="method" value="all"/><c:param name="categoryID" value="2"/></c:url>">杂谈</a></li>
	<li><a href="<c:url value="/blog.htm"><c:param name="method" value="all"/><c:param name="categoryID" value="3"/></c:url>">资源</a></li>
	<li><a href="<c:url value="/blog.htm"><c:param name="method" value="all"/><c:param name="categoryID" value="4"/></c:url>">帮助</a></li>
</ul>
</div>


<div id="blog_right">
<p><strong>最新文章</strong></p>
<hr size="1" width="500px" style="border: 1px #cccccc dotted" />
<ul id="blog_text">
	<c:forEach var="article" items="${articleList}" varStatus="status">
		<li>(<fmt:formatDate value="${article.createdDate}" type="date"/>)<span><a
			href="<c:url value="/blog.htm"><c:param name="method" value="one"/><c:param name="articleID" value="${article.articleID }"/></c:url>">${article.title
		}</a></span></li>
	</c:forEach>
</ul>

<div id="pagination" class="pagination"></div>
<input type="hidden" id="totalEntries" value="${totalArticleCount }" />
</div>

<div id="blog_foot"></div>

</div>

<%@ include file="footer.jsp"%>